<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/2
  Time: 10:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--从前台获取后台的数据,通过域对象的getAttribute来获取数据--%>
<% Object studentName = request.getAttribute("studentName");
out.println(studentName);
%>

从el表达式取值 ${studentName}
id:${user.id}
name:${user.userName}
<hr>
${list[0]}<br>
${list[1]}<br>
${list[2]}<br>
<hr>
${empty s1}<br>
${empty user}<br>
</body>
</html>
